import { createRouter, createWebHistory } from 'vue-router'

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/',
      name: 'DrugTable',
      component: () => import('../views/DrugTable.vue')
    },
    {
      path: '/ShoppingTrolley',
      name: 'ShoppingTrolley',
      component: () => import('../views/ShoppingTrolley.vue')
    },
    {
      path: '/Orders',
      name: 'Orders',
      component: () => import('../views/Orders.vue')
    },
  ]
})

export default router
